<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="denglu.css" />
		<link rel="stylesheet" type="text/css" href="./iconfont/font/iconfont.css"/>
	</head>
	<body>
		<div class="denglu">
			<div class="denglu1">
				<img src="img/yao_logo.png">
			</div>
			<div class="denglu2">
				<div class="nan1">
					<img src="img/l_bg_02.png">
				</div>
				<div class="nan2">
					<div class="xiao">
						<span><a href="">普通登录</a></span>
						<p><a href="">手机快速登录</a></p>
						<h1>Hi,欢迎登录！</h1>
						<h2>还不是1药网会员？<a href="zhuce.html">免费注册</a></h2>
					</div>
					<div class="kuang1">
						<i class="iconfont icon-daohang "></i>
						<input type="" name="" id="sj" value="" />
					</div>
					<div class="kuang2">
						<i class="iconfont icon-daohang "></i>
						<input type="" name="" id="ma" value="" />
					</div>
					<h3>忘记密码？</h3><br>
					<input type="checkbox" name="" id="" value="" />两周内免登录<br>
					<button id="buu" type="button">登录</button><br>
					<em >注册即代表您已同意1药网<a href="">《服务协议》</a>和<a href="">《隐私条款》</a></em>
					<p class="ppp">使用合作伙伴账号登录：</p>
					<i class="zhifu">
						<img src="img/未55题-1.jpg">
					</i>
				</div>
			</div>
			<div class="denglu3">
				<div class="jie">
					<ul class="guo1">
						<li><a href="">关于111集团</a></li>
						<li><a href="">关于1药网</a></li>
						<li><a href="">关于1药城</a></li>
						<li><a href="">Investor Relaations</a></li>
						<li><a href="">诚聘英才</a></li>
						<li><a href="">直营实体药房</a></li>
					</ul>
					<ul class="guo2">
						<li><a href="">互联网药品信息服务资格证</a></li>
						<li><a href="">互联网药品交易资格证：粤C20150007</a></li>
						<li><a href="">连锁营业执照</a></li>
						<li><a href="">药品营业许可证</a></li>
						<li><a href="">医疗器械许可证</a></li>
						<li><a href="">食品经营许可证</a></li>
					</ul>
					<ul class="guo3">
						<li><a href="">GSP证书</a></li>
						<li><a href="">ICP粤B2-20150066</a></li>
					</ul>
					<p class="wowo1">1药网网上药店，国家药监局认证通过的合法网上药店，中国医药电子商务行业的开拓者领跑者。粤ICP备12015869号-1</p>
					<p class="wowo2">Copyright(C)2010-2015 1药网版权所有
						<!-- <img src="./img/copy_ico.png"> -->公安备案号440104020000743</p>
				</div>
			</div>
		</div>
			<script src="./jquery-1.11.0.js" type="text/javascript" charset="utf-8"></script>
			<script type="text/javascript">
				$('#buu').click(function(){
					let username = $('#sj').val();
					let password = $('#ma').val();
					$.ajax({
						type:'get',
						url:'http://jx.xuzhixiang.top/ap/api/login.php',
						data:{
							'username':username,
							'password':password
						}
					}).then(res=>{
						if(res.code==1){
							// console.log(res)
							location.href="shou.html"
							localStorage.setItem("uid",res.data.id)
							localStorage.setItem("username",res.data.username)
							localStorage.setItem("token",res.data.token)
						}else{
							alert(res.msg)
						}
					})
				})
			</script>
	</body>
</html>
